import { Restaurant } from '../../entities/restaurant.entity';
import { RestaurantMark } from '../../entities/restaurant-mark.entity';

// 抽签响应类型
export interface DrawResponse {
  restaurant: Restaurant;
  drawTime: string;
  eligibleCount: number;
}

// 抽签统计类型
export interface DrawStats {
  totalDraws: number;
  todayDraws: number;
  weekDraws: number;
  monthDraws: number;
  favoriteRestaurant?: {
    name: string;
    count: number;
  };
}

// 标记统计类型
export interface MarkStats {
  totalMarks: number;
  todayMarks: number;
  weekMarks: number;
  activeMarks: number;
}

// 餐厅抽签次数统计
export interface RestaurantDrawCount {
  restaurant: Restaurant;
  count: number;
}

// 餐厅标记检查响应
export interface RestaurantMarkCheck {
  isMarked: boolean;
  marks: RestaurantMark[];
}
